package com.groupbuying.file.service;

import com.groupbuying.file.domain.OssCatelogDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author wenguoqiang
 * @email 17081@mengtaigroup.com
 * @date 2019-02-21 16:01:04
 */
public interface OssCatelogService {
	
	OssCatelogDO get(String uuid);
	
	List<OssCatelogDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OssCatelogDO ossCatelog);
	
	int update(OssCatelogDO ossCatelog);
	
	int remove(String uuid);
	
	int batchRemove(String[] uuids);

	/**
	 * 通过应用名称查找oss目录
	 * @param applicationName
	 * @return
	 */
    OssCatelogDO getCatelogByApplication(String applicationName);
}
